﻿<?php
// On démarre la session (ceci est indispensable dans toutes les pages de notre section membre)
session_start();
if (!isset($_SESSION['login'])) {
  	header('Location: login.php');      
}
else {
	$loginPage = isset($_GET['$loginPage']) ? $_GET['$loginPage'] : "false";
	if ($loginPage === true){
	header("Status: 301 Moved Permanently", false, 301);
	header('Location: index.php');
	exit();		
	}
	
}
?>
<!DOCTYPE html> 
<html> 
<head> 
	<title></title> 
	<meta name="viewport" content="width=device-width, initial-scale=1"> 
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" /> 

	<link rel="stylesheet" href="jquery.mobile-1.3.1/jquery.mobile-1.3.1.min.css" />

	<link rel="stylesheet" href="jquery.mobile-1.3.1/demos/css/themes/default/jquery.mobile-1.3.1.css" />  	
	<link rel="stylesheet" href="themes/MandC-Theme.css" />
	<link rel="stylesheet" href="css/index.css" />
	<script src="js/main.js"></script>
</head> 

<body onLoad="clignote();">

<div data-role="page">
<?php
	include_once "title.php";
	include_once "contentAlarm.php";
?>
 

	<div data-theme="a" data-role="footer" data-position="fixed">
		<div data-role="navbar">
			<ul>
				<li><a href="index.php"  class="ui-btn-active ui-state-persist">Alarms</a></li>
				<li><a href="indexLog.php">Logs</a></li>
				<li><a href="indexStats.php">Statistics</a></li>
			</ul>
		</div>
	</div>

</div><!-- /page -->

<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster 

		<!--<script src="jquery.mobile-1.3.1/jquery.mobile-1.3.1.min.js"></script>-->
		<script src="jquery.mobile-1.3.1/demos/js/jquery.js"></script>
		<script src="jquery.mobile-1.3.1/demos/js/jquery.mobile-1.3.1.js"></script>
</body>
</html>